package com.springboot.cloud.authorization.service;

import com.springboot.cloud.authorization.entity.Role;

import java.util.Set;

/**
 * <p>  </p>
 *
 * @author Bertram
 * @since 11/4/2019 4:53 PM
 */
public interface RoleService {

    /**
     * 根据用户id获取所有角色
     * @param userId
     * @return
     */
    Set<Role> queryUserRolesByUserId(String userId);
}
